package cn.yangliu.webflux.entity;

import java.io.Serializable;
import cn.yangliu.webflux.comm.BaseEntity;
import java.time.LocalDateTime;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * @author 杨柳
 * @date 2019-05-15 23:06
 */
@Accessors(chain = true)
@Entity
@EqualsAndHashCode(callSuper = false)
@Getter
@NoArgsConstructor
@Setter
@Table(name = "user")
@ToString
public class User extends BaseEntity<User,Long> implements Serializable {

    private static final long serialVersionUID = 1L;

    @Column(name = "username")
    private String username;

    @Column(name = "password")
    private String password;


}
